﻿@model IEnumerable<MVC4_Test.Models.Question>

@{
    ViewBag.Title = "Search";
}

            
<div id="mainbar">
    <div class="subheader search-header">
        <h1>Search</h1>       
    </div>
    
    <!-- Beging Zoek -->
    <form id="bigsearch" action="/question/search" method="get">
        <table>
            <tr>
                <td class="col1"><input name="q" class="textbox" type="text" maxlength="140" size="80" value="@ViewBag.Query"></td>
                <td class="col2"><input type="submit" value="search"/></td>
            </tr>
        </table>
    </form>
    <!-- End zoek -->

    <div class="subheader results-header">
        <h2>
            @Model.Count() <span class="results-label">results</span>
        </h2>
        <div id="tabs">
        <a class="youarehere" href="/search?tab=relevance&q=test" title="Search results with best match to search terms">relevance</a>
        <a href="/search?tab=newest&q=test" title="Newest search results">newest</a>
        <a href="/search?tab=votes&q=test" title="Highest voted search results">votes</a>
        <a href="/search?tab=active&q=test" title="Recently active search results">active</a>
        </div>
    </div>
    <div class="search-results">

    @foreach (var item in Model)
    {
    <!-- Begin Questiom -->
    <div class="question-summary search-result" id="question-summary-178325">
        <div class="statscontainer">
            <div class="statsarrow"></div>
            <div class="stats">
                <div class="vote">
                    <div class="votes ">
                        <span class="vote-count-post "><strong>????</strong></span>
                        <div class="viewcount">votes</div>
                    </div>
                </div>
                    <div class="status answered-accepted">
                        <strong>@item.Answer.Count()</strong>answers
                    </div>
            </div>
        </div>
        <div class="summary">
            <div class="result-link">
                <span>
        <a href="#" title="#">
             Q: @item.Title
        </a>
</span>
            </div>
            <div class="excerpt">
                @item.Text
            </div>

            <div class="tags user-tags t-jquery t-visibility">
        @foreach(var tag in item.QuestionTag)
        {
         <div class="tags t-flex t-actionscript">
            <a href="/question/tagged/@tag.Tag.TagId" class="post-tag" title="show questions tagged '@tag.Tag.Text'" rel="tag">@tag.Tag.Text</a>

            <div class="post-menu">
            </div>
        </div>
        }
            </div>
            
            <div class="started fr">
                    asked <span title="2008-10-07 13:03:18Z" class="relativetime">oct 7 '08</span> by <a href="/users/21709/philip-morton">Philip Morton</a>            </div>
            </div>
    </div>
    <!-- End Question -->
    }
    </div>
    <br class="cbt">
<div class="pager fl">
        




 <span class="page-numbers current">1</span>         <a href="/search?page=2&amp;tab=relevance&amp;q=test" title="go to page 2"> <span class="page-numbers">2</span> </a> 
        <a href="/search?page=3&amp;tab=relevance&amp;q=test" title="go to page 3"> <span class="page-numbers">3</span> </a> 
        <a href="/search?page=4&amp;tab=relevance&amp;q=test" title="go to page 4"> <span class="page-numbers">4</span> </a> 
        <a href="/search?page=5&amp;tab=relevance&amp;q=test" title="go to page 5"> <span class="page-numbers">5</span> </a> 
 <span class="page-numbers dots">…</span>         <a href="/search?page=81176&amp;tab=relevance&amp;q=test" title="go to page 81176"> <span class="page-numbers">81176</span> </a> 
        <a href="/search?page=2&amp;tab=relevance&amp;q=test" rel="next" title="go to page 2"> <span class="page-numbers next"> next</span> </a> 

    </div><div class="page-sizer fr">
            <a href="/search?tab=relevance&pagesize=15&q=test" title="show 15 items per page" class="page-numbers current">15</a>
            <a href="/search?tab=relevance&pagesize=30&q=test" title="show 30 items per page" class="page-numbers ">30</a>
            <a href="/search?tab=relevance&pagesize=50&q=test" title="show 50 items per page" class="page-numbers ">50</a>
        <span class="page-numbers desc">per page</span>
    </div></div>
<div id="sidebar">
    <div class="module search-module">
        <div class="search-side-top al">
            <a href="#" class="advanced-tips-toggle">Advanced Search Tips</a>
            <div class="advanced-tips">
                <table>
                    <tr title="Search within a tag (can use more than one)"><td>tags</td><td>[tag]</td></tr>

                    <tr title="Search for an exact phrase (can use more than one)" class="new-group"><td>exact</td><td>"words here"</td></tr>

                    <tr title="Search within a user&#39;s posts" class="new-group"><td>author</td><td>user:1234</td></tr>
                    <tr title="Search within your posts"><td></td><td>user:me <span class="advanced-note">(yours)</span></td></tr>

                    <tr title="Search posts with a score of 3 or higher" class="new-group"><td>score</td><td>score:3 <span class="advanced-note">(3+)</span></td></tr>
                    <tr title="Search posts with a score of 0"><td></td><td>score:0 <span class="advanced-note">(none)</span></td></tr>
                    

                    <tr title="Search questions with at least 3 answers" class="new-group"><td>answers</td><td>answers:3 <span class="advanced-note">(3+)</span></td></tr>
                    <tr title="Search questions with no answers"><td></td><td>answers:0 <span class="advanced-note">(none)</span></td></tr>
                    <tr title="Search only accepted answers (yes)
Search only answers that have not been accepted (no)"><td></td><td>isaccepted:yes</td></tr>
                    <tr title="Search questions with an accepted answer (yes)
Search questions without an accepted answer (no)"><td></td><td>hasaccepted:no</td></tr>
                    
                    <tr title="Search answers to a question 
(or use &quot;inquestion:this&quot; from a question page)"><td></td><td>inquestion:1234</td></tr>
                    
                    <tr title="Search questions with at least 250 views" class="new-group"><td>views</td><td>views:250</td></tr>

                    <tr title="Search only within titles" class="new-group"><td>sections</td><td>title:apples</td></tr>
                    <tr title="Search only within post bodies"><td></td><td>body:"apples oranges"</td></tr>
                    
                    <tr title="Find links or images in posts" class="new-group"><td>url</td><td>url:"*.example.com"</td></tr>
                    
                    <tr title="Search questions favorited by you" class="new-group"><td>favorites</td><td>infavorites:mine</td></tr>
                    <tr title="Search questions favorited by user 1234"><td></td><td>infavorites:1234</td></tr>

                    <tr title="Search questions that are closed (yes)
Search questions that are not closed (no)" class="new-group"><td>status</td><td>closed:yes</td></tr>
                    <tr title="Search questions that are closed as duplicates (yes)
Search questions that are not closed as duplicates (no)"><td></td><td>duplicate:no</td></tr>
                    <tr title="Search posts that are migrated (yes)
Search posts that are not migrated (no)"><td></td><td>migrated:no</td></tr>
                    <tr title="Search for community wiki posts (yes)
Search for non-community wiki posts (no)"><td></td><td>wiki:no</td></tr>
                    
                    <tr title="Search only questions" class="new-group"><td>types</td><td>is:question</td></tr>
                    <tr title="Search only answers"><td></td><td>is:answer</td></tr>
                </table>
                <div>For more details on advanced search <a href="/help/searching">visit our help page</a></div>
            </div>
        </div>
            <p class="side-desc">results found containing</p>
            <p><span class="result-highlight">test</span></p>
    </div>
<script>
    var ados = ados || {}; ados.run = ados.run || [];
    ados.run.push(function () { ados_add_placement(22, 8277, "adzerk1823798443", 17).setZone(45); });                    
            </script>
            <div class="everyonelovesstackoverflow" id="adzerk1823798443">
            </div>  
    <div id="hireme">
        <script>
            window.careers_adurl = "//careers.stackoverflow.com/gethired/js", window.careers_cssurl = "//cdn-careers.sstatic.net/careers/gethired/sidebar.min.css?v=ed74a1a226c6", window.careers_leaderboardcssurl = "//cdn-careers.sstatic.net/careers/gethired/ninja.min.css?v=f0774d5c89a6", window.careers_companycssurl = "//cdn-careers.sstatic.net/careers/gethired/company", window.careers_adselector = "div.hireme, div#hireme", StackExchange.ready(function () { $.ajax({ url: "//cdn-careers.sstatic.net/careers/gethired/loader.min.js?v=2a25cd589f27", dataType: "script", cache: !0 }) });        </script>
    </div><div id="hot-network-questions" class="module">
    <h4>
        <a href="//stackexchange.com/questions?tab=hot" 
           class="js-gps-track" 
           data-gps-track="posts_hot_network.click({ item_type:1, location:12 })">
            Hot Network Questions
        </a>
    </h4>
    <ul>
            <li >
                <div class="favicon favicon-sharepoint" title="SharePoint Stack Exchange"></div><a href="http://sharepoint.stackexchange.com/questions/92085/how-to-convert-date-based-on-current-users-using-client-side-code" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:232 }); posts_hot_network.click({ item_type:2, location:12 })">
                    How to convert date based on current users, using client side code
                </a>

            </li>
            <li >
                <div class="favicon favicon-mathoverflow" title="MathOverflow"></div><a href="http://mathoverflow.net/questions/159310/vector-bundles-on-vector-bundles" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:504 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Vector bundles on vector bundles
                </a>

            </li>
            <li >
                <div class="favicon favicon-mathoverflow" title="MathOverflow"></div><a href="http://mathoverflow.net/questions/159268/silly-me-van-der-waerden-conjecture" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:504 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Silly me &amp; Van der Waerden conjecture
                </a>

            </li>
            <li >
                <div class="favicon favicon-cstheory" title="Theoretical Computer Science Stack Exchange"></div><a href="http://cstheory.stackexchange.com/questions/21338/how-much-time-to-recognize-palindromes-in-logarithmic-space" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:114 }); posts_hot_network.click({ item_type:2, location:12 })">
                    How much time to recognize palindromes in logarithmic space?
                </a>

            </li>
            <li >
                <div class="favicon favicon-math" title="Mathematics Stack Exchange"></div><a href="http://math.stackexchange.com/questions/697433/a-family-has-three-children-what-is-the-probability-that-at-least-one-of-them-i" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:69 }); posts_hot_network.click({ item_type:2, location:12 })">
                    A family has three children. What is the probability that at least one of them is a boy?
                </a>

            </li>
            <li >
                <div class="favicon favicon-gis" title="Geographic Information Systems Stack Exchange"></div><a href="http://gis.stackexchange.com/questions/88428/why-is-the-gps-reference-meridian-100m-to-the-east-of-the-prime-meridian" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:79 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Why is the GPS Reference Meridian 100m to the East of the Prime Meridian?
                </a>

            </li>
            <li >
                <div class="favicon favicon-rpg" title="Role-playing Games Stack Exchange"></div><a href="http://rpg.stackexchange.com/questions/34585/alternatives-to-death-in-a-character-and-narrative-driven-campaign" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:122 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Alternatives to death in a character and narrative-driven campaign?
                </a>

            </li>
            <li >
                <div class="favicon favicon-stackoverflow" title="Stack Overflow"></div><a href="http://stackoverflow.com/questions/22146094/why-should-i-use-pointer-rather-than-the-object-itself" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:1 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Why should I use pointer rather than the object itself?
                </a>

            </li>
            <li >
                <div class="favicon favicon-bitcoin" title="Bitcoin Stack Exchange"></div><a href="http://bitcoin.stackexchange.com/questions/23012/2-00-reward-btc-stuck-with-zero-confirmations" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:308 }); posts_hot_network.click({ item_type:2, location:12 })">
                    $2.00 REWARD: BTC stuck with zero confirmations
                </a>

            </li>
            <li >
                <div class="favicon favicon-anime" title="Anime &amp; Manga Stack Exchange"></div><a href="http://anime.stackexchange.com/questions/7826/where-did-the-term-fan-service-came-from" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:477 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Where did the term fan service came from?
                </a>

            </li>
            <li >
                <div class="favicon favicon-academia" title="Academia Stack Exchange"></div><a href="http://academia.stackexchange.com/questions/17694/is-it-more-difficult-to-score-a-tenure-track-position-in-the-us-when-applying-fr" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:415 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Is it more difficult to score a Tenure Track position in the US when applying from outside?
                </a>

            </li>
            <li >
                <div class="favicon favicon-superuser" title="Super User"></div><a href="http://superuser.com/questions/724275/what-key-does-the-symbol-represent" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:3 }); posts_hot_network.click({ item_type:2, location:12 })">
                    What key does the symbol &quot;⇧&quot; represent?
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-electronics" title="Electrical Engineering Stack Exchange"></div><a href="http://electronics.stackexchange.com/questions/101648/can-i-do-this-tutorial-without-a-potentiometer" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:135 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Can I do this tutorial without a potentiometer?
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-tex" title="TeX - LaTeX Stack Exchange"></div><a href="http://tex.stackexchange.com/questions/163581/aligning-several-symbols-across-two-lines" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:85 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Aligning several &#39;=&#39; symbols across two lines
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-tex" title="TeX - LaTeX Stack Exchange"></div><a href="http://tex.stackexchange.com/questions/163572/centerline-command-alternative" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:85 }); posts_hot_network.click({ item_type:2, location:12 })">
                    \centerline{} command alternative?
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-tex" title="TeX - LaTeX Stack Exchange"></div><a href="http://tex.stackexchange.com/questions/163597/incorrect-hypothesis-counter" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:85 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Incorrect hypothesis counter
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-unix" title="Unix &amp; Linux Stack Exchange"></div><a href="http://unix.stackexchange.com/questions/118034/how-can-i-extract-parse-a-complete-url-from-a-semi-random-string" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:106 }); posts_hot_network.click({ item_type:2, location:12 })">
                    How can I extract/parse a complete URL from a semi random string?
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-scifi" title="Science Fiction &amp; Fantasy Stack Exchange"></div><a href="http://scifi.stackexchange.com/questions/51230/70s-or-80s-tv-show-possibly-post-apocalyptic-with-a-massive-train-like-car" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:186 }); posts_hot_network.click({ item_type:2, location:12 })">
                    70s or 80s tv show, possibly post-apocalyptic with a massive train-like car
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-codereview" title="Code Review Stack Exchange"></div><a href="http://codereview.stackexchange.com/questions/43361/object-creation-during-loops" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:196 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Object Creation during loops
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-workplace" title="The Workplace Stack Exchange"></div><a href="http://workplace.stackexchange.com/questions/19975/is-it-a-good-idea-to-ask-a-future-employer-whether-or-not-i-might-be-allowed-to" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:423 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Is it a good idea to ask a future employer whether or not I might be allowed to do open source development?
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-softwarerecs" title="Software Recommendations Stack Exchange"></div><a href="http://softwarerecs.stackexchange.com/questions/1897/is-there-a-chrome-extension-that-i-can-use-to-note-why-ive-opened-a-tab" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:536 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Is there a Chrome extension that I can use to note why I&#39;ve opened a tab?
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-codereview" title="Code Review Stack Exchange"></div><a href="http://codereview.stackexchange.com/questions/43369/socket-wrapper-class" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:196 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Socket wrapper class
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-gaming" title="Arqade"></div><a href="http://gaming.stackexchange.com/questions/158617/what-abilities-have-an-additional-effect" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:41 }); posts_hot_network.click({ item_type:2, location:12 })">
                    What abilities have an additional effect
                </a>

            </li>
            <li class="dno js-hidden">
                <div class="favicon favicon-programmers" title="Programmers Stack Exchange"></div><a href="http://programmers.stackexchange.com/questions/231057/exceptions-why-throw-early-why-catch-late" class="js-gps-track" data-gps-track="site.switch({ item_type:12, target_site:131 }); posts_hot_network.click({ item_type:2, location:12 })">
                    Exceptions: Why throw early, why catch late?
                </a>

            </li>
    </ul>

        <a href="#" 
           class="show-more js-show-more js-gps-track" 
           data-gps-track="posts_hot_network.click({ item_type:3, location:12 })">
            more hot questions
        </a>
</div></div>
